@burtson-labs/bandit-engine 2.0.147 → 2.0.148

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-XHFMXI6Z.mjs";
3
+ } from "./chunk-NCZX5YKN.mjs";
4
4
  import "./chunk-ONQMRE2G.mjs";
5
5
  import "./chunk-P5IJLX6I.mjs";
6
6
  import "./chunk-K2JGFKEB.mjs";
@@ -13,4 +13,4 @@ import "./chunk-BJTO5JO5.mjs";
13
13
  export {
14
14
  chat_default as default
15
15
  };
16
- //# sourceMappingURL=chat-2JZRC4SF.mjs.map
16
+ //# sourceMappingURL=chat-N2KBORSG.mjs.map
@@ -9811,7 +9811,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
9811
9811
 
9812
9812
  // src/management/management.tsx
9813
9813
  import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
9814
- var preloadChatPage = () => import("./chat-2JZRC4SF.mjs");
9814
+ var preloadChatPage = () => import("./chat-N2KBORSG.mjs");
9815
9815
  var buildCapabilitiesUrl = (gatewayApiUrl) => {
9816
9816
  const trimmed = gatewayApiUrl.replace(/\/$/, "");
9817
9817
  if (trimmed.endsWith("/api")) {
@@ -11184,4 +11184,4 @@ export {
11184
11184
  useGatewayMemory,
11185
11185
  management_default
11186
11186
  };
11187
- //# sourceMappingURL=chunk-AW2Q3IOD.mjs.map
11187
+ //# sourceMappingURL=chunk-3ADU3BFL.mjs.map
@@ -7762,7 +7762,7 @@ import {
7762
7762
  Avatar as Avatar7,
7763
7763
  Chip as Chip4
7764
7764
  } from "@mui/material";
7765
- import { X as CloseIcon7, X as ClearIcon2, Search as SearchIcon2, Folder as FolderIcon5, MoreVertical as MoreVertIcon4, Trash2 as DeleteSweepIcon2, Inbox as InboxIcon4, Plus as AddIcon5, Settings as SettingsIcon2, Brain as MemoryIcon2, LogOut as LogOutIcon2, House as HomeLucideIcon2, RefreshCw as SyncLucideIcon2, CircleAlert as SyncErrorIcon2, SlidersHorizontal as ManagementIcon2 } from "lucide-react";
7765
+ import { X as CloseIcon7, X as ClearIcon2, Search as SearchIcon2, Folder as FolderIcon5, MoreVertical as MoreVertIcon4, Trash2 as DeleteSweepIcon2, Inbox as InboxIcon4, Plus as AddIcon5, Brain as MemoryIcon2, LogOut as LogOutIcon2, House as HomeLucideIcon2, RefreshCw as SyncLucideIcon2, SlidersHorizontal as ManagementIcon2 } from "lucide-react";
7766
7766
  import { useTheme as useTheme14, alpha as alpha9 } from "@mui/material/styles";
7767
7767
  import { Fragment as Fragment9, jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
7768
7768
  var BANDIT_AVATAR2 = "https://cdn.burtson.ai/images/bandit-head.png";
@@ -8178,47 +8178,27 @@ var EnhancedMobileConversationsModal = ({
8178
8178
  }
8179
8179
  }
8180
8180
  ),
8181
- syncEnabled && /* @__PURE__ */ jsx17(
8182
- IconButton11,
8181
+ syncEnabled && syncStatus === "syncing" && /* @__PURE__ */ jsx17(
8182
+ Box14,
8183
8183
  {
8184
- onClick: () => {
8185
- if (syncStatus !== "syncing") void runSync({ force: true });
8186
- },
8187
- "aria-label": "Sync conversations",
8184
+ component: "span",
8188
8185
  sx: {
8189
- color: syncStatus === "error" ? theme.palette.error.main : theme.palette.text.secondary,
8190
- ...syncStatus === "syncing" && {
8191
- animation: "bandit-sync-spin 1s linear infinite",
8192
- "@keyframes bandit-sync-spin": {
8193
- "0%": { transform: "rotate(0deg)" },
8194
- "100%": { transform: "rotate(360deg)" }
8195
- }
8186
+ display: "inline-flex",
8187
+ mr: 0.5,
8188
+ animation: "bandit-sync-spin 1s linear infinite",
8189
+ "@keyframes bandit-sync-spin": {
8190
+ "0%": { transform: "rotate(0deg)" },
8191
+ "100%": { transform: "rotate(360deg)" }
8196
8192
  }
8197
8193
  },
8198
- children: syncStatus === "error" ? /* @__PURE__ */ jsx17(SyncErrorIcon2, {}) : /* @__PURE__ */ jsx17(SyncLucideIcon2, {})
8199
- }
8200
- ),
8201
- /* @__PURE__ */ jsx17(
8202
- IconButton11,
8203
- {
8204
- onClick: () => setMemoryModalOpen(true),
8205
- "aria-label": "Memory",
8206
- sx: { color: theme.palette.text.secondary },
8207
- children: /* @__PURE__ */ jsx17(MemoryIcon2, {})
8208
- }
8209
- ),
8210
- /* @__PURE__ */ jsx17(
8211
- IconButton11,
8212
- {
8213
- onClick: () => setProjectManagementOpen(true),
8214
- sx: { color: theme.palette.text.secondary },
8215
- children: /* @__PURE__ */ jsx17(FolderIcon5, {})
8194
+ children: /* @__PURE__ */ jsx17(SyncLucideIcon2, { size: 18, color: theme.palette.text.secondary })
8216
8195
  }
8217
8196
  ),
8218
8197
  /* @__PURE__ */ jsx17(
8219
8198
  IconButton11,
8220
8199
  {
8221
8200
  onClick: handleMenuOpen,
8201
+ "aria-label": "Conversation options",
8222
8202
  sx: { color: theme.palette.text.secondary },
8223
8203
  children: /* @__PURE__ */ jsx17(MoreVertIcon4, {})
8224
8204
  }
@@ -8747,46 +8727,27 @@ var EnhancedMobileConversationsModal = ({
8747
8727
  children: /* @__PURE__ */ jsx17(ManagementIcon2, { size: 16 })
8748
8728
  }
8749
8729
  ),
8750
- user && /* @__PURE__ */ jsxs14(Fragment9, { children: [
8751
- /* @__PURE__ */ jsx17(
8752
- Box14,
8753
- {
8754
- sx: {
8755
- flexShrink: 0,
8756
- display: "flex",
8757
- alignItems: "center",
8758
- justifyContent: "center",
8759
- width: 30,
8760
- height: 30,
8761
- borderRadius: "50%",
8762
- border: `1px solid ${alpha9(theme.palette.divider, 0.8)}`,
8763
- color: theme.palette.text.secondary
8764
- },
8765
- children: /* @__PURE__ */ jsx17(SettingsIcon2, { size: 16 })
8766
- }
8767
- ),
8768
- /* @__PURE__ */ jsx17(
8769
- IconButton11,
8770
- {
8771
- "aria-label": "Sign out",
8772
- title: "Sign out",
8773
- onClick: (event) => {
8774
- event.stopPropagation();
8775
- authenticationService.clearToken();
8776
- window.location.href = "/login";
8777
- },
8778
- sx: {
8779
- flexShrink: 0,
8780
- width: 30,
8781
- height: 30,
8782
- border: `1px solid ${alpha9(theme.palette.error.main, 0.4)}`,
8783
- color: theme.palette.error.main,
8784
- "&:hover": { bgcolor: alpha9(theme.palette.error.main, 0.1) }
8785
- },
8786
- children: /* @__PURE__ */ jsx17(LogOutIcon2, { size: 16 })
8787
- }
8788
- )
8789
- ] })
8730
+ user && /* @__PURE__ */ jsx17(Fragment9, { children: /* @__PURE__ */ jsx17(
8731
+ IconButton11,
8732
+ {
8733
+ "aria-label": "Sign out",
8734
+ title: "Sign out",
8735
+ onClick: (event) => {
8736
+ event.stopPropagation();
8737
+ authenticationService.clearToken();
8738
+ window.location.href = "/login";
8739
+ },
8740
+ sx: {
8741
+ flexShrink: 0,
8742
+ width: 30,
8743
+ height: 30,
8744
+ border: `1px solid ${alpha9(theme.palette.error.main, 0.4)}`,
8745
+ color: theme.palette.error.main,
8746
+ "&:hover": { bgcolor: alpha9(theme.palette.error.main, 0.1) }
8747
+ },
8748
+ children: /* @__PURE__ */ jsx17(LogOutIcon2, { size: 16 })
8749
+ }
8750
+ ) })
8790
8751
  ]
8791
8752
  }
8792
8753
  )
@@ -8812,7 +8773,7 @@ var EnhancedMobileConversationsModal = ({
8812
8773
  currentProjectId: conversationToMove.projectId
8813
8774
  }
8814
8775
  ),
8815
- /* @__PURE__ */ jsx17(
8776
+ /* @__PURE__ */ jsxs14(
8816
8777
  Menu5,
8817
8778
  {
8818
8779
  anchorEl: menuAnchorEl,
@@ -8826,21 +8787,62 @@ var EnhancedMobileConversationsModal = ({
8826
8787
  vertical: "bottom",
8827
8788
  horizontal: "right"
8828
8789
  },
8829
- children: /* @__PURE__ */ jsxs14(
8830
- MenuItem5,
8831
- {
8832
- onClick: () => {
8833
- setClearConfirmOpen(true);
8834
- handleMenuClose();
8835
- },
8836
- disabled: visibleConversationCount === 0,
8837
- sx: { color: theme.palette.error.main },
8838
- children: [
8839
- /* @__PURE__ */ jsx17(ListItemIcon4, { children: /* @__PURE__ */ jsx17(DeleteSweepIcon2, { size: 16, color: theme.palette.error.main }) }),
8840
- /* @__PURE__ */ jsx17(ListItemText4, { children: "Clear All Conversations" })
8841
- ]
8842
- }
8843
- )
8790
+ children: [
8791
+ /* @__PURE__ */ jsxs14(
8792
+ MenuItem5,
8793
+ {
8794
+ onClick: () => {
8795
+ setMemoryModalOpen(true);
8796
+ handleMenuClose();
8797
+ },
8798
+ children: [
8799
+ /* @__PURE__ */ jsx17(ListItemIcon4, { children: /* @__PURE__ */ jsx17(MemoryIcon2, { size: 16 }) }),
8800
+ /* @__PURE__ */ jsx17(ListItemText4, { children: "Memories" })
8801
+ ]
8802
+ }
8803
+ ),
8804
+ /* @__PURE__ */ jsxs14(
8805
+ MenuItem5,
8806
+ {
8807
+ onClick: () => {
8808
+ setProjectManagementOpen(true);
8809
+ handleMenuClose();
8810
+ },
8811
+ children: [
8812
+ /* @__PURE__ */ jsx17(ListItemIcon4, { children: /* @__PURE__ */ jsx17(FolderIcon5, { size: 16 }) }),
8813
+ /* @__PURE__ */ jsx17(ListItemText4, { children: "Manage projects" })
8814
+ ]
8815
+ }
8816
+ ),
8817
+ syncEnabled && /* @__PURE__ */ jsxs14(
8818
+ MenuItem5,
8819
+ {
8820
+ onClick: () => {
8821
+ if (syncStatus !== "syncing") void runSync({ force: true });
8822
+ handleMenuClose();
8823
+ },
8824
+ children: [
8825
+ /* @__PURE__ */ jsx17(ListItemIcon4, { children: /* @__PURE__ */ jsx17(SyncLucideIcon2, { size: 16 }) }),
8826
+ /* @__PURE__ */ jsx17(ListItemText4, { children: "Sync now" })
8827
+ ]
8828
+ }
8829
+ ),
8830
+ /* @__PURE__ */ jsxs14(
8831
+ MenuItem5,
8832
+ {
8833
+ onClick: () => {
8834
+ setClearConfirmOpen(true);
8835
+ handleMenuClose();
8836
+ },
8837
+ disabled: visibleConversationCount === 0,
8838
+ sx: { color: theme.palette.error.main },
8839
+ children: [
8840
+ /* @__PURE__ */ jsx17(ListItemIcon4, { children: /* @__PURE__ */ jsx17(DeleteSweepIcon2, { size: 16, color: theme.palette.error.main }) }),
8841
+ /* @__PURE__ */ jsx17(ListItemText4, { children: "Clear All Conversations" })
8842
+ ]
8843
+ }
8844
+ )
8845
+ ]
8844
8846
  }
8845
8847
  ),
8846
8848
  /* @__PURE__ */ jsxs14(
@@ -11145,7 +11147,7 @@ var ChatContent = () => {
11145
11147
  // reads as full physical height with the rounded corner visible
11146
11148
  // where it overlaps the drawer.
11147
11149
  transform: isMobile && mobileConversationsOpen ? "translateX(calc(min(calc(100vw - 56px), 360px) - 12px))" : "none",
11148
- borderRadius: isMobile && mobileConversationsOpen ? "36px" : 0,
11150
+ borderRadius: isMobile && mobileConversationsOpen ? "44px" : 0,
11149
11151
  zIndex: isMobile && mobileConversationsOpen ? theme.zIndex.modal + 1 : 0,
11150
11152
  // Hairline border so the rounded card reads even when the backdrop
11151
11153
  // is the same near-black as the shell.
@@ -11471,4 +11473,4 @@ var chat_default = Chat;
11471
11473
  export {
11472
11474
  chat_default
11473
11475
  };
11474
- //# sourceMappingURL=chunk-XHFMXI6Z.mjs.map
11476
+ //# sourceMappingURL=chunk-NCZX5YKN.mjs.map